package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the CUENTA3 database table.
 * 
 */
//@Entity
//@Table(name="CUENTA3")
public class Cuenta3 implements Serializable {
	private static final long serialVersionUID = 1L;
	private String clave;
	private BigDecimal cuentaId;
	private String estado;
	private String exonPago;
	private String fgNewUsrVent;
	private String fgRecMail;
	private String fgSyncTam;
	private BigDecimal peNatuId;
	private String prefCta;
	private BigDecimal pregSecId;
	private String razSoc;
	private String respSecreta;
	private String tipoUsr;
	private Date tsCrea;
	private Date tsUltAcc;
	private String usrCrea;
	private String usrId;

    public Cuenta3() {
    }


	@Column(nullable=false, length=10)
	public String getClave() {
		return this.clave;
	}

	public void setClave(String clave) {
		this.clave = clave;
	}


	@Column(name="CUENTA_ID", nullable=false)
	public BigDecimal getCuentaId() {
		return this.cuentaId;
	}

	public void setCuentaId(BigDecimal cuentaId) {
		this.cuentaId = cuentaId;
	}


	@Column(length=1)
	public String getEstado() {
		return this.estado;
	}

	public void setEstado(String estado) {
		this.estado = estado;
	}


	@Column(name="EXON_PAGO", nullable=false, length=1)
	public String getExonPago() {
		return this.exonPago;
	}

	public void setExonPago(String exonPago) {
		this.exonPago = exonPago;
	}


	@Column(name="FG_NEW_USR_VENT", nullable=false, length=1)
	public String getFgNewUsrVent() {
		return this.fgNewUsrVent;
	}

	public void setFgNewUsrVent(String fgNewUsrVent) {
		this.fgNewUsrVent = fgNewUsrVent;
	}


	@Column(name="FG_REC_MAIL", nullable=false, length=1)
	public String getFgRecMail() {
		return this.fgRecMail;
	}

	public void setFgRecMail(String fgRecMail) {
		this.fgRecMail = fgRecMail;
	}


	@Column(name="FG_SYNC_TAM", length=1)
	public String getFgSyncTam() {
		return this.fgSyncTam;
	}

	public void setFgSyncTam(String fgSyncTam) {
		this.fgSyncTam = fgSyncTam;
	}


	@Column(name="PE_NATU_ID", nullable=false)
	public BigDecimal getPeNatuId() {
		return this.peNatuId;
	}

	public void setPeNatuId(BigDecimal peNatuId) {
		this.peNatuId = peNatuId;
	}


	@Column(name="PREF_CTA", nullable=false, length=12)
	public String getPrefCta() {
		return this.prefCta;
	}

	public void setPrefCta(String prefCta) {
		this.prefCta = prefCta;
	}


	@Column(name="PREG_SEC_ID", nullable=false)
	public BigDecimal getPregSecId() {
		return this.pregSecId;
	}

	public void setPregSecId(BigDecimal pregSecId) {
		this.pregSecId = pregSecId;
	}


	@Column(name="RAZ_SOC", nullable=false, length=100)
	public String getRazSoc() {
		return this.razSoc;
	}

	public void setRazSoc(String razSoc) {
		this.razSoc = razSoc;
	}


	@Column(name="RESP_SECRETA", length=30)
	public String getRespSecreta() {
		return this.respSecreta;
	}

	public void setRespSecreta(String respSecreta) {
		this.respSecreta = respSecreta;
	}


	@Column(name="TIPO_USR", nullable=false, length=4)
	public String getTipoUsr() {
		return this.tipoUsr;
	}

	public void setTipoUsr(String tipoUsr) {
		this.tipoUsr = tipoUsr;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_CREA", nullable=false)
	public Date getTsCrea() {
		return this.tsCrea;
	}

	public void setTsCrea(Date tsCrea) {
		this.tsCrea = tsCrea;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_ULT_ACC", nullable=false)
	public Date getTsUltAcc() {
		return this.tsUltAcc;
	}

	public void setTsUltAcc(Date tsUltAcc) {
		this.tsUltAcc = tsUltAcc;
	}


	@Column(name="USR_CREA", length=15)
	public String getUsrCrea() {
		return this.usrCrea;
	}

	public void setUsrCrea(String usrCrea) {
		this.usrCrea = usrCrea;
	}


	@Column(name="USR_ID", nullable=false, length=15)
	public String getUsrId() {
		return this.usrId;
	}

	public void setUsrId(String usrId) {
		this.usrId = usrId;
	}

}